
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改用户信息</title>
    <style>
        #top{
            position: absolute;
            margin-left: 40%;
            margin-top: 4px;
        }
        #form{
            position: absolute;
            top: 50px;
            left: 151px;

        }
        label{
            position: absolute;
            margin-left: -35px;
            margin-top: 10px;

            width: 131px;
        }
        .form-control{
            position: absolute;
            left: 47px;
            margin: 10px auto;
        }
        br{
            position: absolute;
            margin: 10px auto;
        }
        .ppp{
            line-height: 10px;
        }
        #formdiv{
            position: absolute;
            margin-left: 360px;
            margin-top: -10px;
        }
        #bt{
            position: absolute;
            margin-top: 220px;
            margin-left: 502px;
        }
    </style>
</head>
<body>
<div class="div">
    <h2 id="top">修改用户信息</h2>
    <form id="form" action="http://localhost:8080/hostel_war_exploded/updateuser" method="post">
        <div id="formdiv">
            <p class="ppp"></p><label>i    d: </label><input type="text" class="form-control" value="${user.id}" name="id"/><br />
            <p class="ppp"></p><label>姓   名:</label> <input type="text" class="form-control" value="${user.name}" name="name"/><br />
            <p class="ppp"></p><label>电   话:</label><input type="text" class="form-control"  value="${user.phone}" name="phone"/><br />
            <p class="ppp"></p><label>账   号:</label> <input type="text" class="form-control"  value="${user.username}" name="username"/><br />
            <p class="ppp"></p><label>密   码:</label><input type="text" class="form-control"  value="${user.password}" name="password"/><br />
        </div>
        <input id="bt" type="submit" value="修改提交" />
    </form>
</div>
</body>
</html>
